package com.tianma315.admin.qa.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.common.base.CoreService;
import com.tianma315.admin.qa.domain.QaSpotCheckDO;
import com.tianma315.admin.qa.vo.QaSpotCheckVO;

import java.util.Date;

/**
 * 
 * <pre>
 * 品控抽查
 * </pre>
 * <small> 2019-07-09 16:02:56 | wen</small>
 */
public interface QaSpotCheckService extends CoreService<QaSpotCheckDO> {

    Page<QaSpotCheckVO> getQaSpotCheckPage(Integer pageNumber, Integer pageSize, QaSpotCheckDO qaSpotCheckDTO, Date beginDate,
                                           Date endDate);

    Boolean addQaSpotCheck(QaSpotCheckDO qaSpotCheckDO);

    Boolean deleteQaSpotCheck(Integer id);

    QaSpotCheckVO getQaSpotCheckByProductIdAndBatch(Long productId,String batch);
}
